package com.naiterui.ehp.bs.cms.modules.wms.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.naiterui.ehp.bs.cms.modules.wms.entity.Medicine;
import com.naiterui.ehp.bs.cms.modules.wms.mapper.MedicineMapper;
import com.naiterui.ehp.bs.cms.modules.wms.service.IMedicineService;
import com.naiterui.ehp.bs.cms.modules.wms.vo.MedicineVO;

@Service
public class MedicineServiceImpl extends ServiceImpl<MedicineMapper, Medicine> implements IMedicineService {

    @Override
    public MedicineVO getMedicineById(Long productId) {
        return this.baseMapper.getByProductId(productId);
    }

}
